﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace SyncVideo.Core
{
    [SugarTable("media")]
    public class MediaEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }
        [SugarColumn(IsNullable = true)]
        public string police_number { get; set; }
        [SugarColumn(IsNullable = true)]
        public string device_number { get; set; }
        [SugarColumn(IsNullable = true)]
        public string file_name { get; set; }
        [SugarColumn(IsNullable = true)]
        public string preview_name { get; set; }
        [SugarColumn(IsNullable = true)]
        public string rename { get; set; }
        [SugarColumn(IsNullable = true)]
        public string path { get; set; }
        [SugarColumn(IsNullable = true)]
        public string preview_path { get; set; }
        [SugarColumn(IsNullable = true)]
        public string size { get; set; }
        [SugarColumn(IsNullable = true)]
        public string type { get; set; }
        [SugarColumn(IsNullable = true)]
        public int level { get; set; }
        [SugarColumn(IsNullable = true)]
        public DateTime import_time { get; set; }
        [SugarColumn(IsNullable = true)]
        public DateTime create_time { get; set; }
        [SugarColumn(IsNullable = true)]
        public int status { get; set; }
        [SugarColumn(IsNullable = true)]
        public string ext20 { get; set; }
    }
}
